{% extends "base.html" %}

{% block content %}
<div class="main-container">
    <div class="layui-header header">
        <div class="layui-logo" style="font-size: 25px;text-align: left;padding: 10px;">网络工具箱</div>
        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item">
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-user"></i>
                    {{ current_user.username }}
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="{{ url_for('auth.logout') }}">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <div class="layui-tab layui-tab-brief" lay-filter="tabs">
        <ul class="layui-tab-title">
            <li class="layui-this">工具下载</li>
            <li>网络探测</li>
            <li>脚本生成</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                {% include 'file/tools.html' %}
            </div>
            <div class="layui-tab-item">
                {% include 'file/network.html' %}
            </div>
            <div class="layui-tab-item">
                <div class="coming-soon">
                    <i class="layui-icon layui-icon-set" style="font-size: 60px; color: #1E9FFF;"></i>
                    <h3>脚本生成功能开发中</h3>
                    <p>敬请期待后续版本更新</p>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}